#include "stdafx.h"

void MatchGraph(PNGraph& F, PNGraph& G, PNGraph& M, PNGraph& RetM);

// Utility Function
void LoadGraph(PNGraph& G, TStr FNm);
void GetMatchNum(PNGraph& F, PNGraph& G, PNGraph& M);
void PolishGraph(PNGraph& GG, const PNGraph& G);
void ComputePageRank(const PNGraph& GG, TIntFltH& PageRankH);
void ComputeAvgDist(const PNGraph& G, TIntFltH& AvgDistH, TIntFltH& FwdNumH, TIntFltH& BackNumH, const TIntSet& IdSet);
void SaveData(TStr Pref, int Num);
void LoadData(TStr Pref, int Num);
void DumpToMatlab(PNGraph& F, PNGraph& G, PNGraph& M);

// TEST Function
void TESTDumpEdgeMatchInfo(PNGraph& F, PNGraph& G, TIntH& FMatchH, TIntH& GMatchH);
void TESTDumpTrueSetInfo(PNGraph& F, PNGraph& G, PNGraph& M);
